<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

 <link href="<%=basePath%>css/ls2.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>images/skin.css" rel="stylesheet"
	type="text/css" />
</head>
<body>
	<div id="contain5">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"
			class="tab1">
			<tr>
				<td width="17" valign="top" background="../images/mail_leftbg.gif"><img
					src="../images/left-top-right.gif" width="17" height="29" /></td>
				<td valign="top" background="../images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									<p>录入论文成绩</p>
								</div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<div id="main5">
			<div id="cj101">
                
				<div class="bt2">
					<p>题目名称</p>
				</div>
				<div class="bt3">
					<p>学生姓名</p>
				</div>
				<div class="bt4">
					<p>班级</p>
				</div>
				<div class="bt5">
					<p>学号</p>
				</div>
				
				<div class="bt9">
					<p>评阅成绩</p>
				</div>

				<div class="bt200">
					<p>操作</p>
				</div>
				
			</div>
			<c:forEach items="${reviewProjects}" var="reviewProject" varStatus="i">
				<div class="cj201">
                    <!-- 
					<div class="bt110">
						<p>
							<img src="../images/righttb1.gif" />
						</p>
					</div>
                     -->
					<div class="bt22">
						<p>${reviewProject.project.title}</p>
					</div>
					<div class="bt33">
						<p>${reviewProject.project.student.name}</p>
					</div>
					<div class="bt44">
						<p>${reviewProject.project.student.studentClass.description}</p>
					</div>
					<div class="bt55">
						<p>${reviewProject.project.student.no}</p>
					</div>
					<div class="bt55">
						<p>${reviewProject.project.student.no}</p>
					</div>
					
					 <c:choose>
						<c:when test="${reviewProject.state == null}">
							<div class="bt55">
								
									<b> <a
										href=<c:url value = "/review/update/${reviewProject.project.id }.html" />
										target="_self" style="color: #03C;">录入</a>
									</b>
								
							</div>
						</c:when>
						<c:when test="${reviewProject.state == true}">
							<div class="bt55">
								
									<b> <a
										href=<c:url value = "/review/update/${reviewProject.project.id }.html" />
										target="_self" style="color: #ff0000;">查看</a>
									</b>
								
							</div>
						</c:when>
						<c:when test="${reviewProject.state == false}">
							<div class="bt55">
								
									<b> <a
										href=<c:url value = "/review/update/${reviewProject.project.id }.html" />
										target="_self" style="color: #00ff01;">修改</a>
									</b>
								
							</div>
						</c:when>
					</c:choose> 
					
                    <div class="bt55" style="margin-right:0">
						<b> <a
										href=<c:url value = "/review/excel/${reviewProject.project.id }.html" />
										target="_self" style="color: #00ff01;">打印</a>
									</b>
					</div>
				</div>
			</c:forEach>

		</div>
		<p style="color: #0000FF; padding-left: 800px;">[1]&nbsp;[2]&nbsp;[3]...下一页&nbsp;&nbsp;共有30条记录</p>
	</div>
 </body>
</html>